/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lam.common.serializer.json.ImgJsonSerializer;

/**
 */
public class CategoryVo {

	//@Schema(description = "分类id" ,required=true)
	private String id;

	//@Schema(description = "分类父id" ,required=true)
	private String parentId;

	//@Schema(description = "分类名称" ,required=true)
	private String name;

	//@Schema(description = "分类图片" ,required=true)
	@JsonSerialize(using = ImgJsonSerializer.class)
	private String pic;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

}
